Skip to content

Align rebased codex-agent regression expectations with planner branch naming#224

Merged
NagyVikt merged 2 commits intomainfrom
agent/codex/auto-release-writer-2026-04-21-13-20
Apr 21, 2026
Merged

Align rebased codex-agent regression expectations with planner branch naming#224
NagyVikt merged 2 commits intomainfrom
agent/codex/auto-release-writer-2026-04-21-13-20

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by scripts/agent-branch-finish.sh (PR flow).

NagyVikt added 2 commits April 21, 2026 13:53
…line

The maintainer release path now builds notes from versioned README sections, targets the public GitHub repo from the release manifest, and creates or updates the current GitHub release. The same change also carries the already-verified codex-agent regression coverage that was staged on this sandbox branch.

Constraint: Release creation must target recodeee/gitguardex even when origin points at a mirror or worktree-management remote

Rejected: Keep gx release calling npm publish directly | still leaves GitHub release notes manual and prone to drift from README history

Confidence: high

Scope-risk: moderate

Reversibility: clean

Directive: Keep README release-note sections complete and versioned because gx release now treats them as the source of truth for GitHub release bodies

Tested: node --check bin/multiagent-safety.js; node --test test/metadata.test.js; node --test --test-name-pattern "release creates a GitHub release with README-generated notes|release prefers the target repo package manifest when resolving the GitHub repo|release edits an existing GitHub release instead of failing|typo helper maps relaese/realaese to release" test/install.test.js; node --test --test-name-pattern "codex-agent keeps the sandbox when base branch advances without a mergeable remote context|codex-agent surfaces commit-hook failures so unfinished sandboxes are actionable" test/install.test.js; openspec validate auto-release-writer --type change --strict; openspec validate --specs

Not-tested: node --test test/install.test.js test/metadata.test.js full command because unrelated setup/doctor areas still time out in the repo baseline
… naming

origin/main now exercises the autocommit retry path under agent/planner branch names, so the carried regression assertions needed a narrow follow-up after the finish-flow rebase conflict was resolved.

Constraint: The rebase pulled in current workflow-contract changes from main while this branch still carried older agent/codex expectations in test/install.test.js

Rejected: Leave the stale assertion in place | it would make the focused codex-agent regression slice fail after the rebase

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Keep codex-agent branch-name assertions aligned with the current workflow contract when rebasing long-lived release branches

Tested: node --test --test-name-pattern "release creates a GitHub release with README-generated notes|release prefers the target repo package manifest when resolving the GitHub repo|release edits an existing GitHub release instead of failing|typo helper maps relaese/realaese to release|codex-agent keeps the sandbox when base branch advances without a mergeable remote context|codex-agent surfaces commit-hook failures so unfinished sandboxes are actionable" test/install.test.js

Not-tested: node --test test/metadata.test.js full file after rebase because origin/main currently carries an unrelated doctor-path metadata failure
@NagyVikt NagyVikt merged commit 85122e9 into main Apr 21, 2026
@NagyVikt NagyVikt deleted the agent/codex/auto-release-writer-2026-04-21-13-20 branch April 21, 2026 11:55
NagyVikt added a commit that referenced this pull request Apr 21, 2026
…225)

The release branch already merged as PR #224 and its sandbox is gone, so this follow-up updates the existing OpenSpec tasks file with the final merge and cleanup evidence instead of leaving the completion section open.

Constraint: The original finish run completed the merge but ended with a stale remote-ref deletion error after GitHub had already removed the merged branch

Rejected: Leave the completion checklist open and rely only on chat handoff | the repo contract expects the OpenSpec change record to carry the merge and cleanup evidence

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: When a finish flow merges but cleanup evidence is not recorded in the change bundle, add a narrow follow-up to the existing tasks file instead of creating a new behavior change

Tested: openspec validate auto-release-writer --type change --strict; git diff --check

Not-tested: Runtime/test suites, because this is a documentation-only completion-evidence update

Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant